package com.yujn.springsecurityactual.controller;

import com.yujn.springsecurityactual.bean.Result;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @description: admin controller
 * @author: Yujn
 * @create: 2021-03-14 11:48
 **/
@RequestMapping("/app/api")
@RestController
public class AppController {
    @RequestMapping("hello")
    @GetMapping
    public Result hello(){
        return Result.success("hello app!");
    }
}
